﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Domain.Entity
{
    [Table("Sys_User")]
    public class Sys_User
    {
        [Key]
        public string Id { get; set; }
        public string UserCode { get; set; }
        public string UserName { get; set; }
        public string UserNickName { get; set; }
        public string PassWord { get; set; }
        public int UserRole { get; set; }
        public bool? MutiLogin { get; set; }
        public bool? EnableLogin { get; set; }
        public int LogOnCount { get; set; }
        public string Question { get; set; }
        public string Answer { get; set; }
        public bool? CheckIPAddress { get; set; }
        public string Theme { get; set; }
        public string Language { get; set; }
        public string PicUrl { get; set; }
        public DateTime? LastLogOnTime { get; set; }
        public string LastLogOnIpAdress { get; set; }
        public string LastLogOnIpAdressName { get; set; }
        public DateTime Crdate { get; set; }

    }
}
